HttpHeader

public interface HttpHeader

An HTTP header.

Functions

Link copied to clipboard
public String name()
Returns a string that represents the HTTP header name.
Link copied to clipboard
public static HttpHeader of(String name, String value)
Returns an instance of the HttpHeader with the given name and value.
Link copied to clipboard
public String value()
Returns a string that represents the HTTP header value.